﻿package com.dykj.apps.web.sysmanager.dao;

import java.util.List;

import com.dykj.platform.framework.dao.hibernate.IPublicDBAccess;
import com.dykj.platform.framework.exception.DatabaseException;

public interface ISysAclDAO extends IPublicDBAccess{
	/**
	 *  取得全部角色
	 * @param parent
	 * @return
	 * @throws DatabaseException
	 */
	public List findAllRole(String userid) throws DatabaseException;
	public List findFunctionidByRoleid(String roleid)throws DatabaseException;
	public int deleteAcl(String roleid)throws DatabaseException;
	public List findRolesByRoleid(String role) throws DatabaseException;
}
